<script lang="ts" setup>
import { ref } from 'vue';

import { Page } from '@vben/common-ui';

import { Card, TabPane, Tabs } from 'ant-design-vue';

import { Backups, Configure, ManageBackups } from './components';

defineOptions({
  name: 'AdminBackup',
});
const activeKey = ref('1');
</script>

<template>
  <Page>
    <Card>
      <Tabs v-model:active-key="activeKey">
        <TabPane key="1" force-render tab="配置">
          <Configure />
        </TabPane>
        <TabPane key="2" tab="备份">
          <Backups />
        </TabPane>
        <TabPane key="3" tab="管理">
          <ManageBackups />
        </TabPane>
      </Tabs>
    </Card>
  </Page>
</template>
